﻿<%@ Page Language="vb" AutoEventWireup="false" CodeFile="EditJobs.aspx.vb" Inherits="EditJobs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>IT Professional Services - Edit Jobs</title>
    <script type="text/javascript" src="MainJS.js"></script>    
</head>
<body onload="CheckAdminCookies('2');">
    <form id="form1" runat="server">
    <div>
    <table width="100%" background="images/grayBg.jpg" style="font-family:Arial; font-size:9pt; font-weight:bold">
        <tr>
            <td align="right" style="width: 10%; height: 17px;">
                <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="9pt" Text="Select a Job:"></asp:Label>
            </td>
            <td colspan="3" style="height: 17px">
                <asp:DropDownList ID="ddlJobs" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                    DataSourceID="HotFootRecruitersDB" DataTextField="TextField" DataValueField="jobId">
                </asp:DropDownList>
                <asp:AccessDataSource ID="HotFootRecruitersDB" runat="server"
                    DataFile="~/db/Jobs.mdb" SelectCommand="SELECT [jobSpecTitle] + ' - ' + [jobCity] + ' - ' + [jobDate] as TextField, [jobSpecTitle], [jobId] FROM [tblJobs] ORDER BY [jobSpecTitle]">
                </asp:AccessDataSource>
            </td>
        </tr>
        <tr>       
            <td align="right" style="width: 10%; height: 17px;">
                <asp:Label ID="Label17" runat="server" Font-Bold="True" Font-Size="9pt" Text="Job ID:"></asp:Label>
            </td>
            <td width="50%" style="height: 17px">           
                <asp:TextBox ID="txtJobId" runat="server" BackColor="Red" TabIndex="0" Width="137px" Font-Bold="True" ForeColor="White"></asp:TextBox>
                &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
                <!--<asp:Button ID="btnFindJob" runat="server" Text="Find Job" TabIndex="1" />-->
            </td>
            <td width="10%" align="right" style="height: 17px">
                <asp:Label ID="Label18" runat="server" Font-Bold="True" Font-Size="9pt" Text="Date:"></asp:Label>
            </td>
            <td width="30%" style="height: 17px">
                <asp:Label ID="lblDate" runat="server" Font-Bold="True" Font-Size="9pt" Text="New Date" Width="122px"></asp:Label>
                &nbsp; &nbsp; &nbsp; &nbsp;
                <asp:TextBox ID="txtTitle" runat="server" Visible="False" Width="120px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="width: 10%">
                <asp:Label ID="Label13" runat="server" Font-Bold="True" Font-Size="9pt" Text="Industry:"></asp:Label>
            </td>
            <td colspan="3">
                <asp:DropDownList ID="ddlIndustries" runat="server" DataSourceID="tblIndustries"
                    DataTextField="industryDescription" DataValueField="industryId" Width="253px" TabIndex="0" AutoPostBack="True">
                </asp:DropDownList>
                <asp:AccessDataSource ID="tblIndustries" runat="server" DataFile="~/db/Jobs.mdb"
                    SelectCommand="SELECT [industryDescription], [industryId] FROM [tblIndustries] ORDER BY [industryId]">
                </asp:AccessDataSource>
            </td>
<!--            
            <td width="10%" align="right">
                <asp:Label ID="Label14" runat="server" Font-Bold="True" Font-Size="9pt" Text="Title/Position:"></asp:Label>
            </td>
            <td width="40%" align="left">
                <asp:DropDownList ID="ddlSkillsets" runat="server" DataSourceID="tblIndustrySkillsets"
                    DataTextField="industrySkillsetsDescription" DataValueField="industrySkillsetsId" Width="250px" TabIndex="1">
                </asp:DropDownList>
                <asp:AccessDataSource ID="tblIndustrySkillsets" runat="server"
                    DataFile="~/db/Jobs.mdb" SelectCommand="SELECT * FROM [tblIndustrySkillsets] WHERE ([industryId] = '1')">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="'1'" Name="industryId" Type="String" />
                    </SelectParameters>
                </asp:AccessDataSource>
            </td> -->
        </tr>
        <tr>
            <td align="right" style="width: 10%">
                <asp:Label ID="Label3" runat="server" Font-Bold="True" Text="Title:"></asp:Label>
            </td>
            <td colspan="3">
                &nbsp;<asp:TextBox ID="txtSpecTitle" MaxLength="50" runat="server" TabIndex="2" Width="506px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="width: 10%">
                <asp:Label ID="Label29" runat="server" Font-Bold="True" Text="Job City:"></asp:Label>
            </td>
            <td width="50%">
                &nbsp;<asp:TextBox ID="txtCity" MaxLength="50" runat="server" TabIndex="2" Width="285px"></asp:TextBox></td>
            <td width="10%" align="right">
                <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="Job Zip:"></asp:Label>            
            </td>
            <td width="30%">
                <asp:TextBox ID="txtZip" MaxLength="10" runat="server" TabIndex="3" Width="68px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 10%">
                <asp:Label ID="Label30" runat="server" Font-Bold="True" Text="Salary/Hourly rate:"></asp:Label>
            </td>
            <td width="50%">
                &nbsp;<asp:TextBox ID="txtPayRate" MaxLength="60" text="" width="285px" runat="server" TabIndex="4"></asp:TextBox>
            </td>
            <td width="10%" align="right">
                <asp:Label ID="Label5" runat="server" Font-Bold="True" Text="Job Status:"></asp:Label>            
            </td>
            <td width="30%">
                <asp:TextBox ID="txtStatus" MaxLength="50" runat="server" TabIndex="3" Width="284px"></asp:TextBox>
            </td>
        </tr>                        
<!--    <tr>
            <td align="right">
                                <asp:Label ID="Label31" runat="server" Font-Bold="True" Font-Size="9pt" 
                                    Text="Up load job description:"></asp:Label>&nbsp;
            </td>
            <td style="width: 342px">
                                <asp:FileUpload ID="filJobDescription" runat="server" TabIndex="20" /></td>
        </tr> -->
        <tr>
            <td colspan="4" align="center">
                <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="9pt" 
                    Text="Copy and Paste Job Description below"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="4" height="250px">
                &nbsp;
                <asp:TextBox ID="txtJobDescription" runat="server" Height="340px" TextMode="MultiLine" Width="95%" TabIndex="5"></asp:TextBox>
            </td>                                
        </tr>                        
        <tr>
            <td colspan="4" align="center">
                <br />
                <asp:Button ID="btnCommitChange" runat="server" Text="Commit Changes" 
                    OnClientClick="return checkJobSubmitData('');" TabIndex="6" />
            </td>
        </tr>
    </table>
    <!-- end of table Job Listing -->    
    </div>
    </form>
</body>
</html>
